﻿using System.ComponentModel;

namespace Enums
{
    public class SystemCode
    {
        #region 系统响应反馈码
        /// <summary>
        /// 操作成功！
        /// </summary>
        [Description("操作成功！")]
        public static string SUCCESS = "000000";

        /// <summary>
        /// 校验错误
        /// </summary>
        [Description("校验错误")]
        public static string CHECK_ERROR = "000001";

        /// <summary>
        /// 操作失败！请联系系统管理员！
        /// </summary>
        [Description("操作失败！请联系系统管理员！")]
        public static string SYSTEM_ERROR = "999999";
        #endregion

        #region  用户管理反馈码 100001~100100
        /// <summary>
        /// 登录失败！用户名和密码不正确！
        /// </summary>
        [Description("登录失败！用户名和密码不正确！")]
        public static string LOGIN_ERROR_EMPTY = "100001";

        /// <summary>
        /// 用户名和密码不能为空！
        /// </summary>
        [Description("用户名和密码不能为空！")]
        public static string LOGIN_CHECK_EMPTY = "100002";
        #endregion
    }
}
